package com.neoCalf.neoFriend.feigns;

import com.neoCalf.neoCommon.entity.GroupInfo;
import com.neoCalf.neoCommon.model.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "groupService", path = "/api")
public interface GroupServiceFeign {
    @GetMapping("/group/groupDetail")
    R<GroupInfo> getGroupInfo(@RequestParam("groupId") String groupId);
}
